<?php
if (!defined('IN_PHPBB'))
{
	exit;
}

$starttime = explode(' ', microtime());
$starttime = $starttime[1] + $starttime[0];

if (!defined('E_DEPRECATED'))
{
	define('E_DEPRECATED', 8192);
}
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);

function deregister_globals()
{
	$not_unset = array(
		'GLOBALS' => true,
		'_GET' =>true,
		'_POST' => true,
		'_COOKIE' => true,
		'_REQUEST' => true,
		'_SERVER' => true,
		'_SESSION' => true,
		'_ENV' => true,
		'_FILES' => true,
		'phpEx' => true,
		'php_root_path' => true
		);
		
	if (!isset($_SESSION) || !is_array($_SESSION))
	{
		$_SESSION = array();
	}
	
	$input = array_merge(
			array_keys($_GET),
			array_keys($_POST),
			array_keys($_COOKIE));
}
?>
